package service.impl;

import common.Exception.Results;
import dto.req.AuthorCommentReqDTO;
import dto.resp.AuthorCommentRespDTO;

import java.util.ArrayList;

public interface CommentArticleServiceImpl {
    boolean addComment(AuthorCommentReqDTO request);

    /**
     * 显示文章所有评论
     * @param articleId
     * @return
     */
    Results<ArrayList<AuthorCommentRespDTO>> showAllCommentByArticleId(Integer articleId);
}
